<head>
    <meta charset="UTF-8">
</head>
<body>
    <div>发送验证码</div>
    <input type="number">
    <button>点击发送验证码</button>
<script>
    var buttonDom = document.querySelector("button");
    var time = 60;
    buttonDom.onclick = function(){
        buttonDom.disabled = true;
        buttonDom.innerText = time;
        var interval = setInterval()
    }
</script>



</body>